<div class="page-products">
   <div class="page-title">
      <i class="icon-custom-left"></i>
      <h3>Danh Sách <span class="semi-bold">Cửa Hàng</span></h3>
   </div>
   <div class="row">
      <div class="col-md-12">
         <div class="grid simple ">
            <div class="grid-body no-border">
               <h3>Danh Sách <span class="semi-bold">Cửa Hàng</span></h3>
			   <div class="col-md-2">
					<div class="btn-group"><a class="btn btn-primary dropdown-toggle btn-demo-space" data-toggle="dropdown" href="#">Tác Vụ<span class="caret"></span> </a>
						<ul class="dropdown-menu">
						  <li><a href="#">Đóng Cửa</a></li>
						  <li><a href="#">Mở Cửa</a></li>
						  <li class="divider"></li>
						  <li><a href="#">Xóa Cửa Hàng</a></li>
						</ul>
					</div>
               </div>
               <div class="col-md-2">
					<div class="btn-group"><a class="btn btn-primary dropdown-toggle btn-demo-space" data-toggle="dropdown" href="#">Chọn Trạng Thái<span class="caret"></span> </a>
						<ul class="dropdown-menu">
						  <li><a href="#">Mở Cửa</a></li>
						  <li><a href="#">Đóng Cửa</a></li>
						  <li class="divider"></li>
						  <li><a href="#">Chọn Tất Cả</a></li>
						</ul>
					</div>
               </div>
               <div class="col-md-4">
                  <div class="dataTables_filter" id="example_filter">
                    <input type="text" placeholder="Tìm Kiếm" aria-controls="example" class="input-medium"><button class="btn btn-primary" style="margin-left:12px">Tìm Kiếm</button>
                  </div>
               </div>
			   <div class="col-md-4">
                  <a href="index.php?com=com_shop&view=store&task=add" class="btn btn-primary">Thêm Mới</a>
               </div>
               <table class="table no-more-tables">
                  <thead>
                     <tr>
                        <th style="width:1%">
                           <div class="checkbox check-default">
                              <input id="checkbox10" type="checkbox" value="1" class="checkall">
                              <label for="checkbox10"></label>
                           </div>
                        </th>
                        <th style="width:10%">Tên Cửa Hàng</th>
                        <th style="width:10%">Địa Chỉ</th>
                        <th style="width:10%">Số Điện Thoại</th>
                        <th style="width:10%">Trạng Thái</th>
						<th style="width:10%">Tác Vụ</th>
                     </tr>
                  </thead>
                  <tbody>
					<?php foreach($this->stores as $store ) : ?>
                     <tr>
                        <td class="v-align-middle">
                           <div class="checkbox check-default">
                              <input id="checkbox11" type="checkbox" value="1">
                              <label for="checkbox11"></label>
                           </div>
                        </td>
                        <td class="v-align-middle"><a href="index.php?com=com_shop&view=store&task=edit&id=<?php echo $store->getId(); ?>"><?php echo $store->getName(); ?></a></td>
                        <td class="v-align-middle"><span class="muted"><?php echo $store->getAddress(); ?></span>
                        </td>
                        <td><span class="muted"><?php echo $store->getPhone(); ?></span>
                        </td>
                        <td class="v-align-middle">
                           <span class="label label-success"><?php echo $store->getStatus() ? 'Mở Cửa' : 'Đóng Cửa'; ?></span>
                        </td>
						<td>
							<div class="btn-group">
								<a href="index.php?com=com_shop&view=store&task=edit&id=<?php echo $store->getId(); ?>" class="btn btn-mini btn-primary"><i class="fa fa-edit"></i></a>
								<button class="btn btn-mini btn-primary"><i class="fa fa-trash-o"></i></button>
							</div>
						</td>
                     </tr>
                     
					 <?php endforeach; ?>
                  </tbody>
               </table>
			   <?php /*
               <div class="btn-group">
                  <button class="btn btn-white" type="button"><i class="fa fa-chevron-left"></i></button>
                  <button class="btn btn-white active">1</button>
                  <button class="btn btn-white">2</button>
                  <button class="btn btn-white">3</button>
                  <button class="btn btn-white">4</button>
                  <button class="btn btn-white" type="button"><i class="fa fa-chevron-right"></i> </button>
               </div>
			   */ ?>
            </div>
         </div>
      </div>
   </div>
</div>